<!DOCTYPE html>
<html lang="en" class="dark">

<head>
    <meta charset="UTF-8">
    <link rel="icon" href="/src/assets/logo.png">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="keywords" content="AI-CosPlay">
    <meta name="author" content="木芒果 and 大飞">
    <meta name="description" content="AI-CosPlay | 木芒果 and 大飞">
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:site" content="mumuangguo">
    <meta name="twitter:title" content="AI-CosPlay | 木芒果 and 大飞">
    <meta name="twitter:description" content="AI-CosPlay | 木芒果 and 大飞">
    <meta name="twitter:image" content="/favicon.ico">
    <meta name="twitter:image:alt" content="AI-CosPlay | 木芒果 and 大飞">
    <meta property="og:title" content="AI-CosPlay | 木芒果 and 大飞">
    <meta property="og:description" content="AI-CosPlay | 木芒果 and 大飞">
    <meta property="og:image" content="/favicon.ico">
    <meta property="og:url" content="https://gitee.com/EpiphyllumLove/ai-role-playing">
    <meta property="og:type" content="website">
    <meta property="og:site_name" content="AI-CosPlay | 木芒果 and 大飞">
    <meta property="og:locale" content="zh_CN">
    <title>AI-CosPlay</title>
    <!--[if lt IE 11]><script>window.location.href='/404';</script><![endif]-->
    <style>
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: 9999;
        }

        .loading-text {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            text-align: center;
            width: 100%;
            height: 100px;
            line-height: 100px;
        }

        .loading-text span {
            display: inline-block;
            margin: 0 5px;
            font-family: "Quattrocento Sans", sans-serif;
        }

        .loading-text span:nth-child(1) {
            filter: blur(0px);
            animation: blur-text 1.5s 0s infinite linear alternate;
        }

        .loading-text span:nth-child(2) {
            filter: blur(0px);
            animation: blur-text 1.5s 0.2s infinite linear alternate;
        }

        .loading-text span:nth-child(3) {
            filter: blur(0px);
            animation: blur-text 1.5s 0.4s infinite linear alternate;
        }

        .loading-text span:nth-child(4) {
            filter: blur(0px);
            animation: blur-text 1.5s 0.6s infinite linear alternate;
        }

        .loading-text span:nth-child(5) {
            filter: blur(0px);
            animation: blur-text 1.5s 0.8s infinite linear alternate;
        }

        .loading-text span:nth-child(6) {
            filter: blur(0px);
            animation: blur-text 1.5s 1s infinite linear alternate;
        }

        .loading-text span:nth-child(7) {
            filter: blur(0px);
            animation: blur-text 1.5s 1.2s infinite linear alternate;
        }

        @keyframes blur-text {
            0% {
                filter: blur(0px);
            }

            100% {
                filter: blur(4px);
            }
        }
    </style>
</head>

<body>
<div id="app">
    <div class="loading">
        <div class="loading-text" id="loading-text">
            <span class="loading-text-words">美</span>
            <span class="loading-text-words">好</span>
            <span class="loading-text-words">的</span>
            <span class="loading-text-words">事</span>
            <span class="loading-text-words">即</span>
            <span class="loading-text-words">将</span>
            <span class="loading-text-words">发</span>
            <span class="loading-text-words">生</span>
            <span class="loading-text-words">……</span>
        </div>
    </div>
</div>
<script type="module" src="/src/main.js"></script>
<script>
    const now = new Date()
    const hour = now.getHours()
    const words = document.querySelectorAll('.loading-text-words')
    if (hour >= 6 && hour <= 20) {
        for (let i = 0; i < words.length; i++) {
            const word = words[i]
            word.style.color = '#24272e'
        }
    } else {
        for (let i = 0; i < words.length; i++) {
            const word = words[i]
            word.style.color = '#fff'
        }
    }
</script>
</body>

</html>
